package com.ihr360.payroll.type;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public enum StaffRefStatus {
    NOT_OK("未确定"),
    OK("已确定");

    private String title;


    @JsonCreator
    public static StaffRefStatus factory(@JsonProperty(value = "id") String id) {
        return StaffRefStatus.valueOf(id);
    }


    StaffRefStatus(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }
}